package com.manager.entity;

public class Species {
    private Integer id;

    private String name;

    /*id为自动生成，插入用。+null*/
    public Species(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }
}